package LostFoundController

import (
    "github.com/gin-gonic/gin"
    "server/app"
    "server/service/LostFoundService"
)

// 查询失物招领分页列表
func FindPageList(c *gin.Context) {
    page := new(app.PageParam)
    app.MustShouldBindJSON(c, &page)

    pageList := LostFoundService.FindPageList(page)
    app.Json(c, app.NewRest().Data(pageList))
}
